package com.legoo.studaychineseonline.activity;

import android.os.Bundle;
import android.support.annotation.Nullable;
import android.view.View;
import android.widget.Button;
import android.widget.EditText;
import android.widget.TextView;

import com.legoo.studaychineseonline.R;
import com.legoo.studaychineseonline.base.BaseActivity;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
/**
 * 建议反馈
 * */
public class OpinionActivity extends BaseActivity {
    @BindView(R.id.tv_title_left)
    TextView tvTitleLeft;
    @BindView(R.id.tv_title)
    TextView tvTitle;
    @BindView(R.id.tv_title_right)
    TextView tvTitleRight;
    @BindView(R.id.et_opinion)
    EditText etOpinion;
    @BindView(R.id.et_youxiang)
    EditText etYouxiang;
    @BindView(R.id.bt_submission)
    Button btSubmission;

    @Override
    protected void myOnCreate(@Nullable Bundle savedInstanceState) {
        ButterKnife.bind(this);
        tvTitle.setText("意见与反馈");
        tvTitleRight.setVisibility(View.INVISIBLE);
        tvTitleLeft.setBackgroundResource(R.mipmap.img_fanhui);
    }

    @Override
    protected void initData() {

    }

    @Override
    protected void resolveBundle(Bundle bundle) {

    }

    @Override
    protected int myLayoutId() {
        return R.layout.activity_opinion;
    }



    @OnClick({R.id.tv_title_left, R.id.bt_submission})
    public void onViewClicked(View view) {
        switch (view.getId()) {
            case R.id.tv_title_left:
                finish();
                break;
            case R.id.bt_submission:
                break;
        }
    }
}
